import axios from '../utils/request';

// 获取文章列表
const getKnowledgeList = function (data) {
    return axios.get('/api/get/knowledge',{params:data})
}
// 获取文章列表
const getKnowledgeDetail = function (id) {
    return axios.get('/api/knowledge/detail/'+id)
}

export default {
    getKnowledgeList,
    getKnowledgeDetail
}